From f0bbd5d898b0868f2492421930d312690f0a9444 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Fri, 12 May 2006 08:55:50 -0600 Subject: [PATCH] [IA64] xen: fix vmx_build_physmap_table() fix vmx_build_physmap_table(). avoid map pages to the area [VGA_IO_START, VGA_IO_START + VGA_IO_SIZE]. Signed-off-by: Isaku Yamahata --- xen/arch/ia64/vmx/vmx_init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/ia64/vmx/vmx_init.c b/xen/arch/ia64/vmx/vmx_init.c index b836c254b8..ca5e100637 100644 --- a/xen/arch/ia64/vmx/vmx_init.c +++ b/xen/arch/ia64/vmx/vmx_init.c @@ -353,6 +353,9 @@ int vmx_build_physmap_table(struct domain *d) end = VMX_CONFIG_PAGES(d) << PAGE_SHIFT; tmp = end < MMIO_START ? end : MMIO_START; for (i = 0; (i < tmp) && (list_ent != &d->page_list); i += PAGE_SIZE) { + if (VGA_IO_START <= i && i < VGA_IO_START + VGA_IO_SIZE) + continue; + mfn = page_to_mfn(list_entry( list_ent, struct page_info, list)); assign_domain_page(d, i, mfn << PAGE_SHIFT); -- 2.30.2